package com.atguigu.ucenter.service;

import com.atguigu.servicebase.handler.GuliException;
import com.atguigu.ucenter.entity.Member;
import com.atguigu.ucenter.entity.vo.LoginVo;
import com.atguigu.ucenter.entity.vo.RegisterVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author ryan
 * @since 2021-10-23
 */
public interface MemberService extends IService<Member> {

    String login(LoginVo loginVo) throws GuliException;

    void register(RegisterVo registerVo) throws GuliException;

    Member getMemberByOpenId(String openid);

    Integer getCountRegister(String day);
}
